detectLandmarks: detectLandmarks.o LandmarkDetector.o ../util/tinyxml2.o
	g++ -lopencv_core -lopencv_objdetect -lopencv_highgui detectLandmarks.o LandmarkDetector.o ../util/tinyxml2.o -o detectLandmarks
	
detectLandmarks.o: detectLandmarks.cpp
	g++ -I /usr/local/include/opencv -c detectLandmarks.cpp -o detectLandmarks.o
	
LandmarkDetector.o: LandmarkDetector.h LandmarkDetector.cpp
	g++ -I /usr/local/include/opencv -Wall -c LandmarkDetector.cpp -o LandmarkDetector.o
	
../util/tinyxml2.o: ../util/tinyxml2.cpp
	g++ -Wall -c ../util/tinyxml2.cpp -o ../util/tinyxml2.o
	
clean:
	rm *.o detectLandmarks ../util/tinyxml2.o